<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.libs.utils Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1libs.html">libs</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html">utils</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">aestate.libs.utils Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a613416eaa880943adcc2fe2129e75695"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html#a613416eaa880943adcc2fe2129e75695">conversion_types</a> (val)</td></tr>
<tr class="separator:a613416eaa880943adcc2fe2129e75695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afecec8e1fa9ab43bdf3373f888f1ea41"><td class="memItemLeft" align="right" valign="top">str&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html#afecec8e1fa9ab43bdf3373f888f1ea41">date_format</a> (time_obj=time, fmt='%Y-%m-%d %H:%M:%S')</td></tr>
<tr class="separator:afecec8e1fa9ab43bdf3373f888f1ea41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66526fbe7c407390d0fe2d59d7cfec12"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html#a66526fbe7c407390d0fe2d59d7cfec12">time_to_datetime</a> (t_time)</td></tr>
<tr class="separator:a66526fbe7c407390d0fe2d59d7cfec12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47ad7b26a8be516b8638e82dd1e48100"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html#a47ad7b26a8be516b8638e82dd1e48100">get_static_fields</a> (cls)</td></tr>
<tr class="separator:a47ad7b26a8be516b8638e82dd1e48100"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fe06b83030b01bba678a8e866e8545a"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1libs_1_1utils.html#a1fe06b83030b01bba678a8e866e8545a">fullname</a> (o)</td></tr>
<tr class="separator:a1fe06b83030b01bba678a8e866e8545a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a613416eaa880943adcc2fe2129e75695"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a613416eaa880943adcc2fe2129e75695">&#9670;&nbsp;</a></span>conversion_types()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.libs.utils.conversion_types </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">将val的类型转换为字符串并插入array
</pre> 
<p class="definition">Definition at line <a class="el" href="libs_2utils_8py_source.html#l00010">10</a> of file <a class="el" href="libs_2utils_8py_source.html">utils.py</a>.</p>

</div>
</div>
<a id="afecec8e1fa9ab43bdf3373f888f1ea41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afecec8e1fa9ab43bdf3373f888f1ea41">&#9670;&nbsp;</a></span>date_format()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"> str aestate.libs.utils.date_format </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>time_obj</em> = <code>time</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>fmt</em> = <code>'%Y-%m-%d&#160;%H:%M:%S'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">时间转字符串
:param time_obj:
:param fmt:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="libs_2utils_8py_source.html#l00019">19</a> of file <a class="el" href="libs_2utils_8py_source.html">utils.py</a>.</p>

</div>
</div>
<a id="a1fe06b83030b01bba678a8e866e8545a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fe06b83030b01bba678a8e866e8545a">&#9670;&nbsp;</a></span>fullname()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.libs.utils.fullname </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取对象的类名</pre> 
<p class="definition">Definition at line <a class="el" href="libs_2utils_8py_source.html#l00050">50</a> of file <a class="el" href="libs_2utils_8py_source.html">utils.py</a>.</p>

</div>
</div>
<a id="a47ad7b26a8be516b8638e82dd1e48100"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47ad7b26a8be516b8638e82dd1e48100">&#9670;&nbsp;</a></span>get_static_fields()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.libs.utils.get_static_fields </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取类的非默认全局变量
</pre> 
<p class="definition">Definition at line <a class="el" href="libs_2utils_8py_source.html#l00042">42</a> of file <a class="el" href="libs_2utils_8py_source.html">utils.py</a>.</p>

</div>
</div>
<a id="a66526fbe7c407390d0fe2d59d7cfec12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66526fbe7c407390d0fe2d59d7cfec12">&#9670;&nbsp;</a></span>time_to_datetime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.libs.utils.time_to_datetime </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>t_time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">时间戳转datetime
</pre> 
<p class="definition">Definition at line <a class="el" href="libs_2utils_8py_source.html#l00031">31</a> of file <a class="el" href="libs_2utils_8py_source.html">utils.py</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
